/* 
 * File:   application.h
 * Author: Faraj
 *
 * Created on May 12, 2013, 12:44 AM
 */

#ifndef APPLICATION_H
#define	APPLICATION_H

#include <string>
#include <vector>
#include <map>
#include "common/str.h"
#include "common/log.h"
using namespace std;

namespace lib {

    class application {
    public:
        application(string name);
        void add_param(string name, string param);
        void set_ext(string exts);
        string get_name();
        void execute();
        virtual ~application();
    private:
        string _name;
        vector<string> _exts;
        map<string, string> _params;
    };
};
#endif	/* APPLICATION_H */

